SwedbankPay\Checkout\WooCommerce\WC_Shortcode_Checkout A

Total Complexity 66
Dependencies 2
Dependents 0
Total lines 571
Lines of code 329
Logical lines of code 162
Comment lines 134
Methods 14
Properties 13

Methods 14

Method Rating Maintainability Complexity Lines of code
ajax_sbp_update_order()
A
39 14 61
add_scripts()
A
36 11 84
__construct()
A
45 14 33
override_checkout_page()
A
49 9 31
shortcode()
S
46 3 41
ajax_sbp_recalculate()
S
59 3 15
get_gateway()
S
65 3 9
plugins_loaded()
S
69 2 7
override_template()
S
64 2 10
add_settings()
S
61 1 13
ajax_sbp_submit_order()
S
62 1 11
register_post_type()
S
68 1 9
checkout_init()
S
91 1 2
get_checkout_url()
S
82 1 3